<template>
  <div class="component-login-scan">
    <div class="qrcode-content">
      <QrCode
        :val="qrcodeVal"
        :size="120"
        level="M"
      />
    </div>
    <div class="qrcode-tips">
      请使用微信扫码工具
    </div>
  </div>
</template>

<script>
import QrCode from '@/components/QrCode'

export default {
  data () {
    return {
      qrcodeVal: '12345678901234567890'
    }
  },
  components: {
    QrCode
  }
}
</script>

<style lang="less" scoped>
.component-login-scan{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  .qrcode-content{
    margin-top: 20px;
  }
  .qrcode-tips{
    margin-top: 20px;
  }
}
</style>
